﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.MultiTenancy;
using Volo.Abp;
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;

namespace Vouchers
{
    [Table("t_packvoucherdetail")]
    [Comment("定数包打包明细表")]
    public class PackVoucherDetail: VoucherDetailBase
    {
        public PackVoucherDetail(Guid id)
        {
            this.Id = id;
        }

        public PackVoucherDetail()
        {

        }

        [Comment("包数")]
        public int PackageCount { get; set; }



        [Comment("零散数量")]
        [Column(TypeName = "decimal(10,2)")]
        public decimal ScatteCount { get; set; }

        [Comment("定数")]
        [Column(TypeName = "decimal(10,2)")]
        public decimal DefiniteCount { get; set; }
        [Comment("条形码")]
        [MaxLength(100)]
        public string BarCode { get; set; }
    }
}
